package com.sneaker.shower.entity.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel("产品DTO")
public class ProductDTO {

    private String guid;

    @ApiModelProperty("菜单guid")
    private String menuGuid;

    @ApiModelProperty("菜单名字")
    private String parentName;

    @ApiModelProperty("产品名字")
    private String name;

    @ApiModelProperty("英文名字")
    private String englishName;

    @ApiModelProperty("产品定价")
    private BigDecimal price;

    @ApiModelProperty("购物车中产品图标的样式，0为圆形样式， 1为横条样式")
    private Integer iconType;

    @ApiModelProperty("是否需要确认")
    private Boolean needCheck = Boolean.FALSE;

    @ApiModelProperty("产品数量，只在订单信息里面展示")
    private Integer count;

    @ApiModelProperty("当前产品在购物车被选中时 必须同时选中的产品guid集合")
    private List<String> beforeProductGuidList;

    private String cartImage;

    private String description;

    private String remark;

    private Boolean checked = Boolean.FALSE;

    private Boolean isParent = Boolean.FALSE;

    private String realName;
}
